// vite.config.js
import { defineConfig, loadEnv } from "file:///E:/A%E5%90%AF%E5%91%88/%E5%B7%A5%E4%BD%9C%E4%BB%A3%E7%A0%81/%E6%8C%87%E5%AE%9A%E7%89%88%E6%9C%AC--%E5%BD%93%E5%89%8D/vue-ol/node_modules/vite/dist/node/index.js";
import vue from "file:///E:/A%E5%90%AF%E5%91%88/%E5%B7%A5%E4%BD%9C%E4%BB%A3%E7%A0%81/%E6%8C%87%E5%AE%9A%E7%89%88%E6%9C%AC--%E5%BD%93%E5%89%8D/vue-ol/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import path from "path";
import AutoImport from "file:///E:/A%E5%90%AF%E5%91%88/%E5%B7%A5%E4%BD%9C%E4%BB%A3%E7%A0%81/%E6%8C%87%E5%AE%9A%E7%89%88%E6%9C%AC--%E5%BD%93%E5%89%8D/vue-ol/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///E:/A%E5%90%AF%E5%91%88/%E5%B7%A5%E4%BD%9C%E4%BB%A3%E7%A0%81/%E6%8C%87%E5%AE%9A%E7%89%88%E6%9C%AC--%E5%BD%93%E5%89%8D/vue-ol/node_modules/unplugin-vue-components/dist/vite.mjs";
import { ElementPlusResolver } from "file:///E:/A%E5%90%AF%E5%91%88/%E5%B7%A5%E4%BD%9C%E4%BB%A3%E7%A0%81/%E6%8C%87%E5%AE%9A%E7%89%88%E6%9C%AC--%E5%BD%93%E5%89%8D/vue-ol/node_modules/unplugin-vue-components/dist/resolvers.mjs";
import { createHtmlPlugin } from "file:///E:/A%E5%90%AF%E5%91%88/%E5%B7%A5%E4%BD%9C%E4%BB%A3%E7%A0%81/%E6%8C%87%E5%AE%9A%E7%89%88%E6%9C%AC--%E5%BD%93%E5%89%8D/vue-ol/node_modules/vite-plugin-html/dist/index.mjs";
import inject from "file:///E:/A%E5%90%AF%E5%91%88/%E5%B7%A5%E4%BD%9C%E4%BB%A3%E7%A0%81/%E6%8C%87%E5%AE%9A%E7%89%88%E6%9C%AC--%E5%BD%93%E5%89%8D/vue-ol/node_modules/@rollup/plugin-inject/dist/es/index.js";
import topLevelAwait from "file:///E:/A%E5%90%AF%E5%91%88/%E5%B7%A5%E4%BD%9C%E4%BB%A3%E7%A0%81/%E6%8C%87%E5%AE%9A%E7%89%88%E6%9C%AC--%E5%BD%93%E5%89%8D/vue-ol/node_modules/vite-plugin-top-level-await/exports/import.mjs";
var __vite_injected_original_dirname = "E:\\A\u542F\u5448\\\u5DE5\u4F5C\u4EE3\u7801\\\u6307\u5B9A\u7248\u672C--\u5F53\u524D\\vue-ol";
var getViteEnv = (mode, target) => {
  return loadEnv(mode, process.cwd())[target];
};
var vite_config_default = defineConfig({
  base: "./",
  plugins: [
    vue(),
    topLevelAwait({
      promiseExportName: "__tla",
      promiseImportName: (i) => `__tla_${i}`
    }),
    inject({
      $: "jquery",
      jQuery: "jquery",
      "windows.jQuery": "jquery"
    }),
    AutoImport({
      resolvers: [ElementPlusResolver()]
    }),
    Components({
      resolvers: [ElementPlusResolver()]
    }),
    createHtmlPlugin({
      inject: {
        data: {
          title: getViteEnv(process.env, "VITE_APP_TITLE")
        }
      }
    })
  ],
  resolve: {
    alias: {
      "@": path.resolve(__vite_injected_original_dirname, "src")
    }
  },
  server: {
    port: 3333,
    proxy: {
      "/api": {
        target: "http://58.210.32.10:9022/bsApi",
        ws: true,
        changeOrigin: true,
        rewrite: (path2) => path2.replace(/^\/api/, "")
      },
      "/mapApi": {
        target: "http://58.210.32.10:6080/arcgis/rest/services/KSSW_DATA/ZT_PCGW_YS/MapServer/3/query",
        ws: true,
        changeOrigin: true,
        rewrite: (path2) => path2.replace(/^\/mapApi/, "")
      }
    }
  },
  define: {
    "process.env": {}
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlna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